package com.chaopei.msite_web.service.impl;

import com.chaopei.msite_web.entity.UserInfo;
import com.chaopei.msite_web.service.UserSevice;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @Author Corday 天涯
 * @Date 2022/5/11 16:56
 * 当请求出错时执行此回调对象
 */
@Component
public class UserServiceImpl implements UserSevice {
    @Override
    public String userLogin(String userName, String password) {
        return "error";
    }

    @Override
    public String userRegister(UserInfo userInfo) {
        return "error";
    }
}
